﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" 
           x:Class="EarthWatchers.SL.GUI.Controls.LayerChooser"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           Width="520" Height="450" 
           Title="Add layers" Loaded="ChildWindowLoaded">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Button x:Name="btnDone" Content="Done" Click="BtnDoneClick" Width="75" Height="24" HorizontalAlignment="Right" Margin="0" Grid.Row="1" />
        <toolkit:Accordion VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="#BF707176" Margin="0,0,0,3">

            <toolkit:AccordionItem Header="Satellite Layers">
                <StackPanel Orientation="Vertical">
                    <StackPanel x:Name="satelliteInfoHeader" Orientation="Horizontal">
                        <TextBlock Text="Add" Margin="3,0,0,0" />
                        <TextBlock Text="Name" Margin="7,0,0,0" />
                        <TextBlock Text="Type" Margin="104,0,0,0" />
                        <TextBlock Text="Provider" Margin="40,0,0,0" />
                        <TextBlock Text="Datum" Margin="26,0,0,0" />
                        <TextBlock Text="Info" Margin="60,0,0,0" />
                    </StackPanel>
                    <ScrollViewer Height="295">
                        <StackPanel x:Name="satelliteLayers"></StackPanel>
                    </ScrollViewer>
                </StackPanel>
            </toolkit:AccordionItem>
            <toolkit:AccordionItem Header="Context Layers">
                <StackPanel Orientation="Vertical">
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="Add" Margin="3,0,0,0" />
                        <TextBlock Text="Name" Margin="8,0,0,0" />
                    </StackPanel>
                    <StackPanel x:Name="eduLayerWrapper">

                    </StackPanel>
                </StackPanel>
            </toolkit:AccordionItem>
        </toolkit:Accordion>
    </Grid>
</controls:ChildWindow>